import request from '@/utils/request'

export default {

  createStatistics(day) {
    return request({
      url: `/statisticsservice/daily/create/${day}`,
      method: 'post'
    })
  },
  getChartData(obj){
    return request({
        url: `/statisticsservice/daily/getChartData`,
        method: 'post',
        data:{typeName:obj.type,
          begin:obj.begin,
          end:obj.end
            }
      })
  },
  

}